<link href="css/skin.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        <tr>
          <td height="31"><div class="titlebt">用户管理</div></td>
        </tr>
      </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="2" valign="top">&nbsp;</td>
          <td>&nbsp;</td>
          <td valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td class="left_txt">当前位置：用户管理</td>
              </tr>
              <tr>
                <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                    <tr>
                      <td></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="10%" height="55" valign="middle"><img src="images/user-info.gif" width="54" height="55"></td>
                      <td width="90%" valign="top"><span class="left_txt2">在这里，您可以根据您的网站要求，管理用户信息</span><br>
                        <span class="left_txt2">包括</span><span class="left_txt3">登录名，姓名，状态</span><span class="left_txt2">等。</span></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                    <tr>
                      <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;用户列表</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table style="width:100%;border-collapse:collapse;border:1px solid #006D84" cellspacing="0px">
                    <tr style="background-color:#f2f2f2">
                      <th style="width:15%; border:1px solid #006D84"> 编号 </th>
                      <th style="width:15%; border:1px solid #006D84"> 登录名 </th>
                      <th style="width:15%; border:1px solid #006D84"> 真实姓名 </th>
                      <th style="width:15%; border:1px solid #006D84"> 公司名称 </th>
                      <th style="width:15%; border:1px solid #006D84"> 公司职位 </th>
                      <th style="width:15%;border:1px solid #006D84"> 最后登录时间 </th>
                      <th style="width:10%;border:1px solid #006D84"> 操作 </th>
                    </tr>
                    {section name=uID loop=$users.data }
                    <tr style="text-align:center">
                      <td class="left_bt2" style="width:15%;border:1px solid #006D84"> {$users.data[uID].id} </td>
                      <td class="left_bt2" style="width:15%;border:1px solid #006D84;"> {$users.data[uID].fdLogin} </td>
                      <td class="left_bt2" style="width:15%;border:1px solid #006D84"> {$users.data[uID].fdName} </td>
                      <td class="left_bt2" style="width:15%;border:1px solid #006D84"> {$users.data[uID].fdCompany} </td>
                      <td class="left_bt2" style="width:15%;border:1px solid #006D84"> {$users.data[uID].fdPosition} </td>
                      <td class="left_bt2" style="width:15%;border:1px solid #006D84"> {$users.data[uID].fdActive} </td>
                      <td style="width:10%;border:1px solid #006D84"><a href="admin-listuser.php?f=edit&id={$users.data[uID].id}"><img src="images/pencil.png" border="0"/></a>&nbsp;<a href="javascript:if(window.confirm('确定删除？')==true){ldelim}window.location.href='admin-listuser.php?f=del&id={$users.data[uID].id}';{rdelim}"><img src="images/cancel.png" border="0"/></a></td>
                    </tr>
                    {/section}
                    <tr style="border-top:1px dotted #CCCCCC; text-align:center; background-color:#FFFBE5">
                      <td colspan="7"> {if $users.countRs > 0}
                        <li class="left_bt2" style="display:inline; font-size:12px">{$nowtype}共&nbsp;{$users.countRs}&nbsp;人&nbsp;&nbsp;每页显示&nbsp;{$users.pageSize}&nbsp;人&nbsp;&nbsp;第&nbsp;{$users.page}&nbsp;页/共&nbsp;{$users.countPage}&nbsp;页&nbsp;&nbsp;&nbsp;&nbsp; <a href="/admin-listuser.php?page={$users.first}" class="a1">首页</a>&nbsp; <a href="/admin-listuser.php?page={$users.previous}" class="a1">上一页</a>&nbsp; <a href="/admin-listuser.php?page={$users.next}" class="a1">下一页</a>&nbsp; <a href="/admin-listuser.php?page={$users.last}" class="a1">尾页</a> </li>
                        {/if} </td>
                    </tr>
                  </table>
                  {if $isShow=='E'}
                  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                          <tr>
                            <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;修改用户</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td><form name="form2" method="POST" action="admin-listuser.php">
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <input type="hidden" name="f" value="edit" />
                            <input type="hidden" name="id" size="30" value="{$user[0].id}" />                            
                            <tr>
                              <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">Yiduo ID ：</td>
                              <td bgcolor="#f2f2f2">&nbsp;</td>
                              <td height="30" bgcolor="#f2f2f2"><input type="text" name="login" size="30" value="{$user[0].fdLogin}" /></td>
                              <td height="30" bgcolor="#f2f2f2" class="left_txt">登录凭据</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" class="left_txt2">用户名： </td>
                              <td>&nbsp;</td>
                              <td height="30"><input type="text" name="name" size="30" value="{$user[0].fdName}" /></td>
                              <td height="30" class="left_txt">用户真实姓名</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">公司名称：</td>
                              <td bgcolor="#f2f2f2">&nbsp;</td>
                              <td height="30" bgcolor="#f2f2f2"><input type="text" name="company" size="30" value="{$user[0].fdCompany}" /></td>
                              <td height="30" bgcolor="#f2f2f2" class="left_txt">用户公司名称</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">公司职位：</td>
                              <td bgcolor="#f2f2f2">&nbsp;</td>
                              <td height="30" bgcolor="#f2f2f2"><input type="text" name="position" size="30" value="{$user[0].fdPosition}" /></td>
                              <td height="30" bgcolor="#f2f2f2" class="left_txt">用户公司职位</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#F7F8F9" class="left_txt2">联系地址：</td>
                              <td bgcolor="#F7F8F9">&nbsp;</td>
                              <td height="30" bgcolor="#F7F8F9"><input type="text" name="address" size="30" value="{$user[0].fdAddress}" /></td>
                              <td height="30" bgcolor="#F7F8F9" class="left_txt">用户公司地址</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#F2F2F2" class="left_txt2">邮政编码：</td>
                              <td bgcolor="#F2F2F2">&nbsp;</td>
                              <td height="30" bgcolor="#F2F2F2"><input name="postcode" type="text" size="10" value="{$user[0].fdPostcode}" /></td>
                              <td height="30" bgcolor="#F2F2F2"><span class="left_txt">用户邮政编码</span></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" class="left_txt2">联系电话：</td>
                              <td>&nbsp;</td>
                              <td height="30"><input type="text" name="telephone" size="30" value="{$user[0].fdTelePhone}" /></td>
                              <td height="30"><span class="left_txt">用户联系电话</span></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">手机： </td>
                              <td bgcolor="#f2f2f2">&nbsp;</td>
                              <td height="30" bgcolor="#f2f2f2"><input type="text" name="mobilephone" size="30" value="{$user[0].fdMobilePhone}" /></td>
                              <td height="30" bgcolor="#f2f2f2"><span class="left_txt">用户手机号码</span></td>
                            </tr>
                            <tr>
                              <td height="30" align="right" class="left_txt2">电子邮件：</td>
                              <td>&nbsp;</td>
                              <td height="30"><input type="text" name="emaill" size="30" value="{$user[0].fdEmail}" /></td>
                              <td height="30" class="left_txt">用户常用邮箱</td>
                            </tr>
                            <tr>
                              <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">登录密码：</td>
                              <td bgcolor="#f2f2f2">&nbsp;</td>
                              <td height="30" bgcolor="#f2f2f2"><input type="text" name="password" size="30" /></td>
                              <td height="30" bgcolor="#f2f2f2" class="left_txt">用户登录密码</td>
                            </tr>
                            <tr>
                              <td height="30" align="center" colspan="4"><input type="submit" value="保存" name="btn1" />
                                <input type="reset" value="取消" name="btn2" /></td>
                            </tr>
                          </table>
                        </form></td>
                    </tr>
                  </table>
                  {/if} </td>
              </tr>
            </table></td>
        </tr>
      </table>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td height="17" valign="top" background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
